from django.db import models
from utils.models import CoreModel   


class UserGroup(CoreModel):
    user_group = models.IntegerField(primary_key=True, help_text="用户组主键", verbose_name="用户组主键")
    name = models.CharField(null=True, blank=True, max_length=16, verbose_name='名称', help_text='名称')

    class Meta:
        db_table = 'usergroup'
        verbose_name = '用户组'
        verbose_name_plural = verbose_name
        ordering = ('-creation_on',)
    